<div class=" form  d-dibu-fabu d-yincang">
	<div class="d-neikuang-15 text-center">
		
		<label><button type="button" style="width: 200px;margin-left: -120px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '0')" class="btn btn-lg yanse">  {dr_lang('发 布')}</button></label>
		<!--label><button type="button" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '2000', '{$reply_url}')" class="btn yellow"> <i class="fa fa-mail-reply-all"></i> {dr_lang('保存并返回')}</button></label-->
	</div>
</div>
<div class=" form  d-dibu-fabu d-yincang-pc">
	<div class="d-neikuang-15 text-center">
		<label><button type="button" style="width: 50px;margin-left: 0px;"  onclick="javascript:goBackquan();" class="btn btn-lg ">  <i class="fa fa-mail-reply"></i></button></label>
		<label><button type="button" style="width: 200px;" onclick="$('#dr_is_draft').val(0);dr_ajax_submit('{dr_now_url()}', 'myform', '0')" class="btn btn-lg yanse">  {dr_lang('发 布')}</button></label>
		<label><button type="button" style="width: 50px;"  onclick="javascript:d_m_fabu();" class="btn btn-lg ">  <i class="fa fa-navicon"></i></button></label>
	</div>
</div>
{php $isbiao = \Phpcmf\Service::M()->db->tableExists(\Phpcmf\Service::M()->dbprefix('1_quan_shezhi'));}
	{if $isbiao}
	{php $kaiguan = \Phpcmf\Service::M()->table('1_quan_shezhi')->where('dirname', 'quan')->getRow();}
	{/if}
	{php $quanzhukaiguan = \Phpcmf\Service::M()->table('1_quan')->where('uid', $member.id)->where('id', $_GET['cid'])->getRow();}
	{php $quanfabushezhi = \Phpcmf\Service::M()->table('1_quan')->where('id', $_GET['cid'])->getRow();}
	{php $kaiguans = dr_string2array($kaiguan['setting']);}
	{php $quanzhukaiguans = dr_string2array($quanzhukaiguan);}
	{php $fabushezhis = dr_string2array($quanfabushezhi['fabushezhi']);}
	
	{php $yonghuzufabuquanxian = \Phpcmf\Service::M()->table('1_quan_form_group')->where('uid', $member.id)->where('quanid', $_GET['cid'])->getRow();}
	{php $yonghuzufabuquanxian = dr_string2array($yonghuzufabuquanxian);}
	
	{php $yonghuzufabuquanxians = \Phpcmf\Service::M()->table('1_quan_form_yonghuzu')->where('id', $yonghuzufabuquanxian['gid'])->where('cid', $_GET['cid'])->getRow();}
	{php $yonghuzufabuquanxians = dr_string2array($yonghuzufabuquanxians);}
	
	{php $duliquanzishezhidata = \Phpcmf\Service::M()->table('1_quan')->where('id', $_GET['cid'])->getRow();}
	{php $duliquanzishezhi = dr_string2array($duliquanzishezhidata['fabushezhi']);}
{template "/quan/show-fabu-ye.html"}

{php $dashang=\Phpcmf\Service::M()->table('1_quan_shezhi')->where('dirname', 'dashang')->getRow();}

{php $dashangdatacomment = $dashang['comment'];}

<script type="text/javascript">
	{if $dashangdatacomment ==1}
	    $('#dr_row_dskg').hide();
		{else}
		
		{/if}
	function d_m_fabu() {
		
		if ($('.d-shezhi').is(':hidden')) {
			$('.d-shezhi').show();
		} else {
			$('.d-shezhi').hide();
		}
	}
	function goBackquan() {
		var url = "{dr_url('quan/show/index')}&id={$_GET['cid']}"; // 构建URL
		window.location.href = url; // 执行页面跳转。
	}
</script>
<style>
	.d-xiala-shezhi {
	    z-index: 999999;
	    position: fixed;
		border-radius: 10px 10px 0 0;
	    bottom: 0px;
	    width: 100%;
	    /*height: 40%;*/
	    overflow: auto;
	    background: #b3b3b3;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(255, 255, 255, 1.0);
	}
</style>

